
import Axios from "./api";
//获取食圈列表
export function getEclipseList(data){
	return Axios({
		url:'/eclipse',
		method:'GET',
		data
	})
}



// 修改列表
export function UpEclipseList(data){
	return Axios({
		url:`/eclipseUp/${data.id}`,
		method:'PUT',
		data
	})
}
// 修改关注
export function UpEclipseCon(data){
	return Axios({
		url:`/eclipseUpCon/${data.id}`,
		method:'PUT',
		data
	})
}
// 修改关注
export function UpEclipsePun(data){
	return Axios({
		url:`/eclipsePun/${data.id}`,
		method:'PUT',

	})
}
//我的
export function GetMy(data){
	return Axios({
		url:'/my',
		method:'GET',
		data
	})
}
// 粉丝列表
export function GetFensi(data){
	return Axios({
		url:'/fensi',
		method:'GET',
		data
	})
}
//
export function GetEclipse(data){
	return Axios({
		url:'/eclipse',
		method:'GET',

		data
	})
}


import Axios from "./api";
// 首页轮播图
export function homelist() {
	return Axios({
		url: '/homelist',
		method: 'GET',
	})
}
// 首页推荐
export function recommendList() {
	return Axios({
		url: '/recommendList',
		method: 'GET',
	})
}
//首页分类
export function fenleilist() {
	return Axios({
		url: '/fenleilist',
		method: 'GET',
	})
}